﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;

namespace PingYou.Api.UI
{
    public class DemoController : ApiController
    {
        #region 查询用户相关数据
        [HttpGet]
        public dynamic GetTest()
        {
            try
            {
                return new { success = true };
            }
            catch (Exception myEx)
            {
                return new { success = false, Message = myEx.Message };
            }
        }
        #endregion
    }
}